<?php
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Logout extends CI_Controller
{
	public function index()
	{
		$this->load->view("functionEntry/logout/logout");
	}
	
	// --------------------------------------------------------------------
	
	/**
	 * 登出
	 *
	 *
	 */
	public function logout_user()
	{
		$this->session->sess_destroy();
		redirect("login");
	}
}
?>